package com.sb.crawler;

import com.sb.entity.ActionContext;
import com.sb.entity.Result;

/**
 * Created by wujunzhou on 2017/10/18.
 */
public interface BaseCrawler {
    /**
     * 登录
     *
     * @param actionContext
     * @return
     */
    public String login(ActionContext actionContext);

    /**
     * 返回图片验证码的二进制流
     * @return
     */
    public byte[] getCaptcha();

    /**
     * 爬虫分发
     * @param actionContext
     * @return
     */
    public Result crawler(ActionContext actionContext);

    /**
     * 社保查询
     * @param actionContext
     * @return
     */
    public boolean sbcx(ActionContext actionContext);


}
